<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE composition PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<ui:composition xmlns:ui="http://java.sun.com/jsf/facelets"
                template="/publico/template/templatePadrao.xhtml"
                xmlns:h="http://java.sun.com/jsf/html"
                xmlns:p="http://primefaces.org/ui">

    <ui:define name="content">

        <h:form enctype="multipart/form-data">  

            
            <p:panel header="Submissão de Comprovação">
                <p:fileUpload fileUploadListener="#{areaBean.handleFileUpload}"  
                              mode="advanced"  
                              update="messages" label="Escolher" 
                              auto="true"  
                              sizeLimit="100000"   
                              allowTypes="/(\.|\/)(doc|jpe?g|docx|pdf)$/"/>  

                <p:growl id="messages" showDetail="true"/>  

            </p:panel>

        </h:form>  

    </ui:define>

</ui:composition>
